home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr05 / xnot12a.zip / MAKEFILE.INT < prev    next >
Text File  |  1993-06-11  |  2KB  |  52 lines

  1. #
  2. # Makefile for gnu-like MicroEMACS on Interactive Systems UNIX (Intel)
  3. #
  4. #
  5. # The X server I was using had a broken CopyArea call; if your's doesn't
  6. # get rid of the BROKENSEVER define!
  7. #
  8. #CDEFS    = -DJAM -DX11 -DINTERACTIVE -DSYSV -DUSG -DBROKENSERVER
  9. CDEFS    = -DJAM -DX11 -DINTERACTIVE -DSYSV -DUSG 
  10. DEBUG   = -g
  11. CC    = cc -c -I/. -I/usr/include -I/usr/include/sys -I/usr/include/X11 $(DEBUG)
  12. LIBS = -lX11 -lmalloc -lpt -lnsl_s -linet
  13.  
  14.  
  15. # implicit compilation rule
  16.  
  17. objects: $(OBJ)
  18.  
  19. .c.o:
  20.     $(CC) $(CDEFS) $*.c
  21.  
  22. # files that can be removed, because they are really just copies
  23.  
  24. # object file listg
  25. OBJ = alloca.o basic.o buffer.o cinfo.o dir.o dired.o display.o \
  26.     echo.o extend.o file.o fileio.o help.o kbd.o keymap.o \
  27.     line.o macro.o main.o match.o modes.o paragrap.o \
  28.     random.o regex.o region.o re_searc.o search.o spawn.o \
  29.     ttyio.o ttykbd.o version.o window.o word.o unix.o undo.o \
  30.     indent.o crypt.o mouse.o xio.o xkey.o xwin.o 
  31.  
  32. SRC =  mouse.c xio.c xkey.c xwin.c xmem.c \
  33.     alloca.c basic.c buffer.c cinfo.c dir.c dired.c display.c \
  34.     echo.c extend.c file.c fileio.c help.c kbd.c keymap.c \
  35.     line.c macro.c main.c match.c modes.c paragrap.c \
  36.     random.c regex.c region.c re_searc.c search.c spawn.c \
  37.     ttyio.c ttykbd.c version.c window.c word.c unix.c undo.c indent.c \
  38.     crypt.c 
  39.  
  40.  
  41. xnot: $(OBJ)
  42.     cc -o xnot $(OBJ) $(LIBS)
  43.  
  44. xnotalrm: xnotalrm.o
  45.     cc -o xnotalrm xnotalrm.o $(LIBS)
  46.  
  47. xnotalrm.o: xnotalrm.c
  48.     $(CC) $(CDEFS) xnotalrm.c
  49.  
  50. all: xnot xnotalrm
  51. ###
  52.